package com.pzhu.model.job.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 职位审核表
 * </p>
 *
 * @author rediaz
 * @since 2024-07-08
 */
@ApiModel(value="Jobreview对象", description="职位审核表")
public class Jobreview implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "审核ID")
    @TableId(value = "review_id", type = IdType.AUTO)
    private Integer reviewId;

    @ApiModelProperty(value = "管理员ID")
    private Integer adminId;

    @ApiModelProperty(value = "管理员用户名")
    private String adminName;

    @ApiModelProperty(value = "职位ID")
    private Integer jobId;

    @ApiModelProperty(value = "职位标题")
    private String jobTitle;

    @ApiModelProperty(value = "审核状态")
    private String status;

    @ApiModelProperty(value = "审核意见")
    private String comments;

    @ApiModelProperty(value = "审核时间")
    private LocalDateTime createdAt;

    public Integer getReviewId() {
        return reviewId;
    }

    public void setReviewId(Integer reviewId) {
        this.reviewId = reviewId;
    }
    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }
    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }
    public Integer getJobId() {
        return jobId;
    }

    public void setJobId(Integer jobId) {
        this.jobId = jobId;
    }
    public String getJobTitle() {
        return jobTitle;
    }

    public void setJobTitle(String jobTitle) {
        this.jobTitle = jobTitle;
    }
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    @Override
    public String toString() {
        return "Jobreview{" +
            "reviewId=" + reviewId +
            ", adminId=" + adminId +
            ", adminName=" + adminName +
            ", jobId=" + jobId +
            ", jobTitle=" + jobTitle +
            ", status=" + status +
            ", comments=" + comments +
            ", createdAt=" + createdAt +
        "}";
    }
}
